package com.ruoyi.store.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 商城配置对象 hm_system_config
 *
 * @author ruoyi
 * @date 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hm_system_config")
public class HmSystemConfig implements Serializable {

	private static final long serialVersionUID=1L;

	public HmSystemConfig() {
	}

	public HmSystemConfig(String name, String title, Integer formId, String value, Boolean status) {
		this.name = name;
		this.title = title;
		this.formId = formId;
		this.value = value;
		this.status = status;
	}
	/** 配置id */
	@TableId(value = "id")
	private Integer id;

	/** 字段名称 */
	private String name;

	/** 字段提示文字 */
	private String title;

	/** 表单id */
	private Integer formId;

	/** 值 */
	private String value;

	/** 是否隐藏 */
	private Boolean status;

	/** 创建时间 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	/** 更新时间 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

}
